package cn.vc.content.entity.video;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;

import java.sql.Timestamp;

@Data
public class VideoCollect {
    @TableId(type = IdType.AUTO)
    private Long id = null;//数据库自增ID
    Long videoId;//被收藏视频ID
    Long userId;//收藏者ID
    private Timestamp setTime = new Timestamp(System.currentTimeMillis());//创建时间
}
